home *** CD-ROM | disk | FTP | other *** search
- The Unix command line interface to the QRZ! database won't work
- under NeXTStep without modification due to NeXT's funky implementation
- of mmap() and its lack of munmap(). I made the following modifications:
-
- cb.h: I included an #ifdef that redefines mmap() to next_mmap().
-
- nextmmap.c: This file contains next_mmap() and munmap() for the NeXT.
-
- nsort.c: Even with the mmap() replacement, the sorted file doesn't
- get written back to disk properly. I added an #ifdef
- section to write nlist.ndx out with an old-fashioned
- write call.
-
- makefile: I added new LIBOBJS and PROGS. The NeXT version of
- LIBOBJS adds the file nextmmap.o. PROGS doesn't attempt
- to build mkalist (because the same patch that was applied
- to nsort.c would be needed) and nucall (because it doesn't
- look like that NeXT supports termio).
-
- Note: The symbol NeXT is defined by the c compiler, so to build this a
- NeXT version, all you have to do is use the proper LIBOBJS and PROGS
- lines in the makefile.
-
- Benjy Cline, AC4XO.
-